Skip to content

adds HCS live migration APIs#2686

Open
rawahars wants to merge 1 commit intomicrosoft:mainfrom
rawahars:add_lm_apis
Open

adds HCS live migration APIs#2686
rawahars wants to merge 1 commit intomicrosoft:mainfrom
rawahars:add_lm_apis

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

This pull request introduces comprehensive support for live migration workflows in the compute system, primarily by adding new types, constants, and methods to manage live migration operations, notifications, and schema definitions.

Key changes include:

Live Migration Implementation

  • Added a new file internal/hcs/migration.go that implements the end-to-end live migration APIs for compute systems, including methods to start, initialize, transfer, finalize, and monitor migration events.

Migration Schema Additions

  • Introduced a new schema file internal/hcs/schema2/migration.go defining all migration-related options, operations, and settings (such as MigrationInitializeOptions, MigrationStartOptions, MigrationTransferOptions, MigrationFinalizedOptions, and supporting types) for use in migration workflows.
  • Extended the VirtualMachine struct in internal/hcs/schema2/virtual_machine.go to include a MigrationOptions field for destination-side live migration options.

Introduces the HCS live migration APIs including destination
start, source-side initialize/start/transfer, finalization, and
event notifications. Add supporting computecore types and HCS schema
definitions for migration options and settings.

Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant